<?php

namespace app\popo\model;

use support\Model;

/**
 * order_detail 订单明细表
 * @property integer $id 主键(主键)
 * @property string $name 名字
 * @property string $image 图片
 * @property integer $order_id 订单id
 * @property integer $dish_id 菜品id
 * @property integer $setmeal_id 套餐id
 * @property string $dish_flavor 口味
 * @property integer $number 数量
 * @property string $amount 金额
 */
class OrderDetail extends Model
{
    /**
     * The connection name for the model.
     *
     * @var string|null
     */
    protected $connection = 'mysql';
    
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'order_detail';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $primaryKey = 'id';

    /**
     * Indicates if the model should be timestamped.
     *
     * @var bool
     */
    public $timestamps = false;
    
    
}
